package com.example.demo.client.evt.sysbasequery;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * Description:
 *
 * @Author zmf
 * @Date 2018/12/20  10:17
 */
@ApiModel("用户组树参数")
public class UserGroupTreeEvt implements Serializable{
    private static final long serialVersionUID = 8650682396580540276L;
    @ApiModelProperty(value = "用户组类型")
    private String groupType;
    @ApiModelProperty("父用户组ID")
    private String parentId;
    @ApiModelProperty(value = "用户组名称",notes = "搜索时发")
    private String groupName;
    @ApiModelProperty(value = "是否超级管理员")
    private Boolean admin;
    @ApiModelProperty(value = "当前登录用户名",notes = "后台取")
    private String loginName;

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public Boolean getAdmin() {
        return admin;
    }

    public void setAdmin(Boolean admin) {
        this.admin = admin;
    }

    public String getGroupType() {
        return groupType;
    }

    public void setGroupType(String groupType) {
        this.groupType = groupType;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    @Override
    public String toString() {
        return "UserGroupTreeEvt{" +
                "groupType='" + groupType + '\'' +
                ", parentId='" + parentId + '\'' +
                ", groupName='" + groupName + '\'' +
                ", admin=" + admin +
                ", loginName='" + loginName + '\'' +
                '}';
    }
}
